import {doPostJson, doPostQs, doGet} from './utils-v2'

/**
 * 批量保存商品类目的属性
 * @param {*} id 
 */
export const batchSaveGoodsCategoryAttr = (params) => {
  return doPostJson('/goods-category-attr/admin/batch-save', params, {})
}

/**
 * 批量移除商品类目的属性
 * @param {*} id 
 */
export const batchRemoveGoodsCategoryAttr = (id, params) => {
  return doPostJson('/goods-category-attr/admin/batch-remove/' + id, params, {})
}

/**
 * 批量保存商品类目的品牌
 * @param {*} id 
 */
export const batchSaveGoodsCategoryBrand = (params) => {
  return doPostJson('/goods-category-brand/admin/batch-save', params, {})
}